//
// Created by xili on 2024/8/7 17:03.
// Go big or go home.
//
#include <vector>
#include <algorithm>
#include <functional>

using namespace std;

class Solution {
public:
    vector<vector<int>> sortTheStudents(vector<vector<int>>& score, int k) {
        sort(score.begin(), score.end(), [&](const vector<int>& a, const vector<int>& b){
            return a[k] > b[k];
        });
        return score;
    }
};
